import Layout from '@/layout/admin/index.vue'
const sample = [
  {
    path: '/admin/sample',
    name: '组件',
    component: Layout,
    redirect: '/admin/sample/tabs-dialog',
    children: [
      {
        path: '/admin/sample/tabs-dialog',
        name: 'tabs对话框',
        component: () => import('@/views/sample/tabsdialog/TabsDialog.vue'),
        meta: { title: '编程智航-tabs对话框' }
      },
      {
        path: '/admin/sample/dialog',
        name: '普通对话框',
        component: () => import('@/views/sample/dialog/Dialog.vue'),
        meta: { title: '编程智航-普通对话框' }
      },
      {
        path: '/admin/sample/datalist',
        name: '数据列表',
        component: () => import('@/views/sample/datalist/DataList.vue'),
        meta: { title: '编程智航-数据列表' }
      },
      {
        path: '/admin/sample/yf-sample',
        name: '杨-组件',
        component: () => import('@/views/sample/yf-sample/YF-Sample.vue'),
        meta: { title: '编程智航-杨-组件' }
      },
      {
        path: '/admin/sample/dyy-sample',
        name: '段-组件',
        component: () => import('@/views/sample/dyy-sample/DYY-Sample.vue'),
        meta: { title: '编程智航-段-组件' }
      }
    ]
  }
]

export default sample
